package cn.rongdao.jrkabao.bean.loan;

import java.util.List;

/**
 * Created by jiangyongxing on 2017/5/13.
 * 描述：
 */

public class LoanCommitBean {


    /**
     * base_limit : 73453.353061654
     * cate_id : 3
     * cid : 3
     * is_credit : 1
     * max_money : 100000
     * min_money : 500
     * org_id : 65
     * other_module : [{"name":"产品详情","url":"http://demo.jianrong.mifengkong.cn/#/productDetail?product_id=9"},{"name":"还款计划","url":"http://demo.jianrong.mifengkong.cn/#/repaymentPlan?cate_id={cate_id}&stages={stages}&amount={amount}"}]
     * period : [{"desc":"6期","val":"6"},{"desc":"12期","val":"12"},{"desc":"24期","val":"24"},{"desc":"36期","val":"36"}]
     * today_leave : 4000
     */

    private String base_limit;
    private int cate_id;
    private int cid;
    private int is_credit;
    private String max_money;
    private String min_money;
    private int org_id;
    private String today_leave;
    /**
     * name : 产品详情
     * url : http://demo.jianrong.mifengkong.cn/#/productDetail?product_id=9
     */

    private List<OtherModuleEntity> other_module;
    /**
     * desc : 6期
     * val : 6
     */

    private List<PeriodEntity> period;

    public String getBase_limit() {
        return base_limit;
    }

    public void setBase_limit(String base_limit) {
        this.base_limit = base_limit;
    }

    public int getCate_id() {
        return cate_id;
    }

    public void setCate_id(int cate_id) {
        this.cate_id = cate_id;
    }

    public int getCid() {
        return cid;
    }

    public void setCid(int cid) {
        this.cid = cid;
    }

    public int getIs_credit() {
        return is_credit;
    }

    public void setIs_credit(int is_credit) {
        this.is_credit = is_credit;
    }

    public String getMax_money() {
        return max_money;
    }

    public void setMax_money(String max_money) {
        this.max_money = max_money;
    }

    public String getMin_money() {
        return min_money;
    }

    public void setMin_money(String min_money) {
        this.min_money = min_money;
    }

    public int getOrg_id() {
        return org_id;
    }

    public void setOrg_id(int org_id) {
        this.org_id = org_id;
    }

    public String getToday_leave() {
        return today_leave;
    }

    public void setToday_leave(String today_leave) {
        this.today_leave = today_leave;
    }

    public List<OtherModuleEntity> getOther_module() {
        return other_module;
    }

    public void setOther_module(List<OtherModuleEntity> other_module) {
        this.other_module = other_module;
    }

    public List<PeriodEntity> getPeriod() {
        return period;
    }

    public void setPeriod(List<PeriodEntity> period) {
        this.period = period;
    }

    public static class OtherModuleEntity {
        private String name;
        private String url;

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public String getUrl() {
            return url;
        }

        public void setUrl(String url) {
            this.url = url;
        }
    }

    public static class PeriodEntity {
        private String desc;
        private String val;
        private boolean checked;

        public boolean isChecked() {
            return checked;
        }

        public void setChecked(boolean checked) {
            this.checked = checked;
        }

        public String getDesc() {
            return desc;
        }

        public void setDesc(String desc) {
            this.desc = desc;
        }

        public String getVal() {
            return val;
        }

        public void setVal(String val) {
            this.val = val;
        }
    }
}
